#include "MyBaseFilter.h"


MyBaseFilter::MyBaseFilter(const TCHAR *pName,LPUNKNOWN pUnk, CCritSec *pLock, REFCLSID clsid)
	:CBaseFilter(NAME("CDumpFilter"), pUnk, pLock, CLSID_MyBaseFilter)
{
}


MyBaseFilter::~MyBaseFilter(void)
{
}

CBasePin * MyBaseFilter::GetPin(int n)
{
    if (n == 0) {
        return pInputPin;
    } else {
        return NULL;
    }
}

int MyBaseFilter::GetPinCount()
{
    return 1;
}